/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.magri.mvc.controler;

import org.magri.mvc.modelo.AbstractBean;

/**
 *
 * @author Magri
 */
public class AbstractControler {
    
    
    
    public void salva(AbstractBean bean) {
        
        switch (bean.estado) {
            case NORMAL:
                
                break;
            case NOVO:
                
                break;
            case ALTERADO:
                
                break;
            case DELETADO:
                
                break;
                
        }
    }
}
